package com.example.beanregistry.entity;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Child {
    @Autowired
    private Father father;

    public Child() {
        System.out.println("child");
    }
}
